home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1989 / Dec 89 / 0154-Re DoInitViews()-Dec89 < prev    next >
Encoding:
Text File  |  1991-03-06  |  2.1 KB  |  61 lines  |  [TEXT/GEOL]

  1. Item    9606521                         1-Dec-89        14:04
  2.  
  3. From:   D1282                           Power Up,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    Re- DoInitViews()
  8.  
  9. Attn:  MacApp.Tech$
  10. SentBy: James Plamondon
  11. Date   12/1/89
  12. Subject    Re- DoInitViews()
  13. From   James Plamondon
  14. To Drew Pritsker
  15. CC Mark Gilford
  16.     MacApp.Tech$
  17.  
  18. Reply to:  Re- DoInitViews()
  19. Dear Mr. Kemink,
  20.  
  21. That's a reasonable suggestion.  However, storing the default values of the
  22. controls in the dialog means that whenever I add or remove a control from the
  23. dialog's view resources, I have to change my TMyDialog class to add or remove
  24. fields to hold the control's defaults.
  25.  
  26. I gather from my reading of the MacApp documentation that the whole point of
  27. using view resources is that changes like these can be encapsulated in the
  28. resources, without requiring modification to the code (just as with MENU
  29. resources or any other resources).  If this interpretation is correct, then
  30. wouldn't it be defeating the whole purpose of view resources to maintain such
  31. a list of view defaults in the TMyDialog class?
  32.  
  33. As to not changing the MacApp source — I am always reluctant to change the
  34. MacApp source, but I am perfectly willing to do so when such a change corrects
  35. a defect or adds a significant functionality.  MacApp is an amazing piece of
  36. work — truly a wonder of the age (and I am not being facetious) — but it has
  37. benefitted, since its inception, from stepwise refinement and response to the
  38. suggestions of its users.
  39.  
  40. I think that the functionality provided by DoInitViews(), InitAView(), and
  41. InitTemplateWindow(), as described in my previous link, provide a significant
  42. benefit to the MacApp programmer.  I need them for my current program, and
  43. will implement them; I would be happy to share the code (assuming my employer
  44. does not object), so that it cant find its way into MacApp that much more
  45. quickly.
  46.  
  47. I appreciate your helpful response, and am looking forward to hearing from you
  48. in the future.  Until then, I remain
  49.  
  50. Yours,
  51.  
  52.  
  53. James Plamondon
  54. Software Engineer
  55. PowerUp! Software
  56. 2929 Campus Drive, Suite 300
  57. San Mateo, CA  94403
  58. (415) 345-5900 x351
  59. AppleLink: PowerUp.Eng
  60.  
  61.